﻿<%@ Page Title="Algemeen" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Algemeen.aspx.cs" Inherits="Algemeen" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <style type="text/css">
        #b
    {
        height: 161px;
    }
    #a
    {
        height: 1491px;
    }
    #b0
    {
        height: 170px;
    }
    #b1
    {
        height: 224px;
    }
    </style>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <div  id="a">
       
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <br />
       
        <asp:Panel ID="Panel1" runat="server" Height="348px">
            Naam korting:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="TextBox6" runat="server" 
                Width="292px"></asp:TextBox>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:CheckBox ID="CheckBox1" runat="server" AutoPostBack="True" 
                CausesValidation="True" Text="Actief" />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <br />
            <br />
            Omschrijving:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<div 
                style="position:absolute; left:1004px; top: 233px; height: 221px;">
                <asp:CheckBox ID="CheckBox2" runat="server" AutoPostBack="True" 
                    CausesValidation="True" oncheckedchanged="CheckBox2_CheckedChanged" 
                    Text="Selecteer periode" />
                <br />
                &nbsp;Begindatum:
                <asp:Calendar ID="Calendar1" runat="server" BackColor="White" 
                    BorderColor="#999999" CellPadding="4" DayNameFormat="Shortest" 
                    Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" Height="180px" 
                    Visible="False" Width="200px">
                    <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
                    <NextPrevStyle VerticalAlign="Bottom" />
                    <OtherMonthDayStyle ForeColor="#808080" />
                    <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
                    <SelectorStyle BackColor="#CCCCCC" />
                    <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
                    <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
                    <WeekendDayStyle BackColor="#FFFFCC" />
                </asp:Calendar>
            </div>
            <div style="position:absolute;  left:1215px; right:157px; top: 253px; height: 212px; width: 222px;">
                Einddatum:
                <asp:Calendar ID="Calendar2" runat="server" BackColor="White" 
                    BorderColor="#999999" CellPadding="4" DayNameFormat="Shortest" 
                    Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" Height="180px" 
                    Visible="False" Width="200px">
                    <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
                    <NextPrevStyle VerticalAlign="Bottom" />
                    <OtherMonthDayStyle ForeColor="#808080" />
                    <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
                    <SelectorStyle BackColor="#CCCCCC" />
                    <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
                    <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
                    <WeekendDayStyle BackColor="#FFFFCC" />
                </asp:Calendar>
            </div>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:TextBox ID="TextBox7" runat="server" Width="292px"></asp:TextBox>
            <br />
            <br />
            <br />
            <br />
            <hr />
            <h2>
                van toepassing op:</h2>
            <br />
            <asp:Panel ID="Panel3" runat="server" Height="508px">
                <br />
                <asp:DropDownList ID="DropDownListGroepen" runat="server" AutoPostBack="True" 
                    CausesValidation="True" 
                    onselectedindexchanged="DropDownList1_SelectedIndexChanged">
                    <asp:ListItem>--Selecteer groep--</asp:ListItem>
                    <asp:ListItem>Klanten</asp:ListItem>
                    <asp:ListItem>Klantengroep</asp:ListItem>
                </asp:DropDownList>
                <asp:SqlDataSource ID="SqlDataSourceGroepen" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:B2B_WebshopSQLConnectionString %>" 
                    SelectCommand="SELECT * FROM [VanToepassingOp]"></asp:SqlDataSource>
                <asp:SqlDataSource ID="SqlDataSourceFilter" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:B2B_WebshopSQLConnectionString %>" SelectCommand=" SELECT COLUMN_NAME
from [B2B WebshopSQL].INFORMATION_SCHEMA.COLUMNS
 where TABLE_NAME = 'Klanten' "></asp:SqlDataSource>
                <br />
                <asp:CheckBox ID="CheckBox3" runat="server" Text="Filter" AutoPostBack="True" 
                    CausesValidation="True" Checked="True" 
                    oncheckedchanged="CheckBox3_CheckedChanged" />
                &nbsp;
                <asp:DropDownList ID="DropDownListFilter" runat="server" AutoPostBack="True" 
                    CausesValidation="True" 
                    onselectedindexchanged="DropDownListFilter_SelectedIndexChanged">
                </asp:DropDownList>
                <asp:DropDownList ID="DropDownListVgling" runat="server">
                    <asp:ListItem>maximum</asp:ListItem>
                    <asp:ListItem>minstens</asp:ListItem>
                    <asp:ListItem>exact</asp:ListItem>
                </asp:DropDownList>
                <asp:TextBox ID="TextBoxVergelijking" runat="server" 
                    ></asp:TextBox>
                <br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
                <asp:ListBox ID="ListBox1" runat="server" Height="130px" Width="214px" 
                    SelectionMode="Multiple">
                </asp:ListBox>
                <asp:SqlDataSource ID="SqlDataSourceKlanten" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:B2B_WebshopSQLConnectionString %>" 
                    SelectCommand="SELECT [klantNr], [familienaam], [voornaam] FROM [Klanten]">
                </asp:SqlDataSource>
                <asp:SqlDataSource ID="SqlDataSourceKlantenGroepen" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:B2B_WebshopSQLConnectionString %>" 
                    SelectCommand="SELECT [naam], [idKlantGroep], [omschrijving] FROM [KlantGroep]">
                </asp:SqlDataSource>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="Button1" runat="server" Text="&lt;" onclick="Button1_Click" />
                <asp:Button ID="Button2" runat="server" Text="&gt;" onclick="Button2_Click" />
                &nbsp;&nbsp;&nbsp;&nbsp;
                <asp:ListBox ID="ListBox2" runat="server" Height="136px" Width="220px" 
                    SelectionMode="Multiple">
                </asp:ListBox>
                <br />
                <br />
                &nbsp;<br />
                <hr />
                <h2>
                    niet cummuleerbaar met:</h2>
                <br />
                <asp:CheckBox ID="CheckBox4" runat="server" AutoPostBack="True" 
                    CausesValidation="True" Text="Alle andere kortingen" />
                <br />
                <br />
                <asp:ListBox ID="ListBox3" runat="server" Height="125px" 
                    SelectionMode="Multiple" Width="207px">
                    <asp:ListItem>getrouwheidskorting 10%</asp:ListItem>
                    <asp:ListItem>A-klanten 25%</asp:ListItem>
                    <asp:ListItem>B-klanten 18%</asp:ListItem>
                    <asp:ListItem>Promotie Dell -20€</asp:ListItem>
                </asp:ListBox>
            </asp:Panel>
            <br />
        </asp:Panel>
        <br />
        <br />
   </div>
</asp:Content>
